//
//  CTUserPublishTableCell.h
//  ConstellationTalk_0.1
//
//  Created by 韩威 on 15/5/25.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CTUserPublishTableCellDelegate;
@class CTFollowList,CTListDetailUser,CTComment,CTTopic;
@interface CTUserPublishTableCell : UITableViewCell

@property (nonatomic, setter=setCellItem:)CTFollowList *item;
@property (nonatomic, strong)     CTListDetailUser *listDetaiItme;



@property (nonatomic, assign)id<CTUserPublishTableCellDelegate>delegate;

@end

@protocol CTUserPublishTableCellDelegate  <NSObject>
/**
 *@brief 点击评论总数
 */
- (void)userPublishTableCellCommentCountAction:(CTUserPublishTableCell *)cell withItem:(CTFollowList *)item;
/**
 *@brief 点击评论第一条
 */
- (void)userPublishTableCellCommentHitFirstLabelAction:(CTUserPublishTableCell *) cell withItem:(CTFollowList *)item;
/**
 *@brief 点击评论第二条
 */
- (void)userPublishTableCellCommentHitSecondLabelAction:(CTUserPublishTableCell *) cell withItem:(CTFollowList *)item;
/**
 *@brief 点击评论第一条头像
 */
- (void)userPublishTableCellCommentHitFirstHeadAction:(CTUserPublishTableCell *)cell withItem:(CTComment *) item;
/**
 *@brief 点击评论第二条头像
 */
- (void)userPublishTableCellCommentHitSecondHeadAction:(CTUserPublishTableCell *)cell withItem:(CTComment *)item;
/**
 *@brief 点击头像
 */
- (void)userPublishTableCellHitHeadAction:(CTUserPublishTableCell *)cell withItem:(CTFollowList *)item;
/**
 *@brief 点击大图
 */
- (void)userPublishTableCellHitPicImageBtnAction:(CTUserPublishTableCell *)cell withItem:(CTFollowList *)item withImageView:(UIImageView *)picimageView;
/**
 *@brief 点赞
 */
- (void)userPublishTableCellHitFavourBtnAction:(CTUserPublishTableCell *)cell withItem:(CTFollowList *)item withBool:(BOOL) favBool;
/**
 *@brief 点击评论按钮
 */
- (void)userPublishTableCellHitCommentBtnaction:(CTUserPublishTableCell *) cell withItem:(CTFollowList *)item;
/**
 *@brief 点击分享按钮
 */
- (void)userPublishTableCellHitShareBtnAction:(CTUserPublishTableCell *) cell withItem:(CTFollowList *)item withImage:(UIImage*)img;
/**
 *@brief 点击更多按钮
 */
- (void)userPublishTableCellHitMoreBtnAction:(CTUserPublishTableCell *) cell withItem:(CTFollowList *)item;
/**
 *@brief 点击点赞的人的头像
 */
- (void)userPublishTableCellHitFavBtnHeadAction:(CTUserPublishTableCell *)cell withItem:(CTListDetailUser *)item;
/**
 *@brief 点击关注按钮
 */
- (void)userPublishTableCellHitAttentionBtnAction:(CTUserPublishTableCell *) cell withItem:(CTFollowList *)item withBool:(BOOL)attentionBool;
/**
 *@brief 点击话题
 */
- (void)userPublishTableCellHitTopicBtnAction:(CTUserPublishTableCell *) cell withItem:(CTTopic *)item;
@end




@class CTUserSuggestionItem;

@protocol CTFllowTableCellDelegate;
@interface CTFllowTableCell : UITableViewCell
@property (nonatomic, setter=setUserSuggestionItem:) CTUserSuggestionItem *item;
@property (nonatomic, assign)id<CTFllowTableCellDelegate>delegate;

@end

@protocol CTFllowTableCellDelegate <NSObject>

-(void)followTableCellHitAttentionBtnAction:(CTFllowTableCell *) cell withItme:(CTUserSuggestionItem *)item;

-(void)followTableCellHitHeadAction:(CTFllowTableCell *)cell withItem:(CTUserSuggestionItem *)item;

@end





@class CTListDetailUser;


@protocol FavourHeadBtnDelegate;

@interface FavourHeadBtn: UIButton

@property(nonatomic,assign)id<FavourHeadBtnDelegate>delegate;
@property(nonatomic,setter=setListDetailUserItem:)CTListDetailUser * userItem;

-(FavourHeadBtn *)creatBtn:(FavourHeadBtn *)btn;

@end

@protocol FavourHeadBtnDelegate <NSObject>

-(void)favourHeadBtnClickedAction:(FavourHeadBtn *)btn
                     withUserItem:(CTListDetailUser *)itm;

@end
